package com.yantong.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class ActivityParam {
    private Long id;

    private String activityName;

    private Long centreId;

    private BigDecimal activityPrice;

    private Date validTime;

    private Long productId;

    private String productName;

    private Integer stock;

    private Integer sold;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    private Long teamId;

    private String thumb;

    private Integer type;//6为免单大礼包

    private Integer range;

    private Integer rule;

    private Integer mode;

    private Integer cond;

    private Integer joinNum;//对于大礼包类活动，这一项就是商品的限购

    private Date createtime;

    private Integer status;

    //操作类型，0或者null:活动更新，需要校验名称等信息；1:发布校验，不需要校验名称等信息
    private Integer operType;

    //显示类型：1进行中 2即将开始 3明日开始 4更多活动
    private Integer showType;

    private Integer offset;
    private Integer limit;
    private String description;
    private String tips;
    private String productDescription;

    private BigDecimal vipPrice;

    private BigDecimal productprice;

    private BigDecimal consumptionIntegral;

    private Integer giftBagCommission1;
    private Integer giftBagCommission2;
    private Integer shareCommission;

    /**
     * 列表图片
     */
    private String  listImg;
    /**
     * 海报图片
     */
    private String 	posterImg;
    /**
     * 详情图片
     */
    private String detailsImg;

    //参与活动的产品品
    private List<ActivityProduct> joinProductList;
    //活动商品SKU
    private List<ActivityProductSku> joinProductSkuList;
    //参与活动的赠品
    private List<ActivityProduct> giftProductList;
    //赠品SKU
    private List<ActivityProductSku> giftProductSkuList;

    private Integer plateType; // '板块类型，0.普通专区，1.粤德公寓专区'

    public BigDecimal getProductprice() {
        return productprice;
    }

    public void setProductprice(BigDecimal productprice) {
        this.productprice = productprice;
    }

    public Integer getPlateType() {
        return plateType;
    }

    public void setPlateType(Integer plateType) {
        this.plateType = plateType;
    }

    public Integer getGiftBagCommission1() {
        return giftBagCommission1;
    }

    public void setGiftBagCommission1(Integer giftBagCommission1) {
        this.giftBagCommission1 = giftBagCommission1;
    }

    public Integer getGiftBagCommission2() {
        return giftBagCommission2;
    }

    public void setGiftBagCommission2(Integer giftBagCommission2) {
        this.giftBagCommission2 = giftBagCommission2;
    }

    public Integer getShareCommission() {
        return shareCommission;
    }

    public void setShareCommission(Integer shareCommission) {
        this.shareCommission = shareCommission;
    }

    public BigDecimal getConsumptionIntegral() {
        return consumptionIntegral;
    }

    public void setConsumptionIntegral(BigDecimal consumptionIntegral) {
        this.consumptionIntegral = consumptionIntegral;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName == null ? null : activityName.trim();
    }

    public BigDecimal getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(BigDecimal vipPrice) {
        this.vipPrice = vipPrice;
    }

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }

    public BigDecimal getActivityPrice() {
        return activityPrice;
    }

    public void setActivityPrice(BigDecimal activityPrice) {
        this.activityPrice = activityPrice;
    }

    public Date getValidTime() {
        return validTime;
    }

    public void setValidTime(Date validTime) {
        this.validTime = validTime;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb == null ? null : thumb.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRange() {
        return range;
    }

    public void setRange(Integer range) {
        this.range = range;
    }

    public Integer getRule() {
        return rule;
    }

    public void setRule(Integer rule) {
        this.rule = rule;
    }

    public Integer getCond() {
        return cond;
    }

    public void setCond(Integer cond) {
        this.cond = cond;
    }

    public Integer getJoinNum() {
        return joinNum;
    }

    public void setJoinNum(Integer joinNum) {
        this.joinNum = joinNum;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public List<ActivityProduct> getJoinProductList() {
        return joinProductList;
    }

    public void setJoinProductList(List<ActivityProduct> joinProductList) {
        this.joinProductList = joinProductList;
    }

    public List<ActivityProductSku> getJoinProductSkuList() {
        return joinProductSkuList;
    }

    public void setJoinProductSkuList(List<ActivityProductSku> joinProductSkuList) {
        this.joinProductSkuList = joinProductSkuList;
    }

    public List<ActivityProduct> getGiftProductList() {
        return giftProductList;
    }

    public void setGiftProductList(List<ActivityProduct> giftProductList) {
        this.giftProductList = giftProductList;
    }

    public List<ActivityProductSku> getGiftProductSkuList() {
        return giftProductSkuList;
    }

    public void setGiftProductSkuList(List<ActivityProductSku> giftProductSkuList) {
        this.giftProductSkuList = giftProductSkuList;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOperType() {
        return operType;
    }

    public void setOperType(Integer operType) {
        this.operType = operType;
    }

    public Integer getShowType() {
        return showType;
    }

    public void setShowType(Integer showType) {
        this.showType = showType;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips == null ? null : tips.trim();
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription == null ? null : productDescription.trim();
    }

    public Integer getSold() {
        return sold;
    }

    public void setSold(Integer sold) {
        this.sold = sold;
    }

    public String getListImg() {
        return listImg;
    }

    public void setListImg(String listImg) {
        this.listImg = listImg;
    }

    public String getPosterImg() {
        return posterImg;
    }

    public void setPosterImg(String posterImg) {
        this.posterImg = posterImg;
    }

    public String getDetailsImg() {
        return detailsImg;
    }

    public void setDetailsImg(String detailsImg) {
        this.detailsImg = detailsImg;
    }
}